package com.api.demo.dto.business.company;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @description: 查询线下充值记录DTO
 * @author: yanming
 * @createDate: 2022/12/27 10:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RechargeRecordDTO extends ApiDTO {

    private static final long serialVersionUID = 4935914556096892047L;

    @ApiModelProperty(value = "充值返回的id")
    private Long tpId;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    private String endDate;

    @ApiModelProperty(value = "服务商id")
    private Long taxId;

    @ApiModelProperty(value = "社会信用代码", required = true)
    @NotBlank(message = "社会信用代码不能为空")
    private String creditCode;

}